package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.example.demo.request.SQLiteJDBC;
import javax.annotation.PostConstruct;

// 已修改版本
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
    @PostConstruct
    public void init() {
        SQLiteJDBC.createTable(); // 创建用户表
    }
}
